import Vue from 'vue'
import Router from 'vue-router'
import Base from '@/components/Base'
import Index from '@/components/common/Index'
import Zhao from '@/components/page/Zhao'
import Jsonp from '@/components/Jsonpdata'

Vue.use(Router)

export default new Router({
  mode:'history', //去掉 理由的#
  routes: [
    {
      path: '/',
      component: Index
    },
    {
      path: '/zhao',
      component: Zhao
    },
    {
      path: '/jsonp',
      component: Jsonp
    }
  ]
})
